﻿

namespace SvGame.Controller;

public partial class GameHandler
{
    
    /// <summary>
    /// 
    /// </summary>
    /// <param name="pack"></param>
    public int C2GGmAction(MyPackage pack)
    {
        pack.GetMsg(out C2GGmAction req);

        var (rsp, rst) = GameLogic.C2GGmAction(req);

        return pack.Send(rsp, rst);
    }
}
